package com.tos.second.vo;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrdersHistoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    //订单主键
    private Long id;

    //订单号
    private String number;

    //卖家ID
    private Long sellerId;

    //买家ID
    private Long buyerId;

    //交易金额
    private BigDecimal amount;

    //订单时间
    private LocalDateTime orderTime;

    //收货地址
    private String address;

    //卖家名称
    private String sellerName;

    //买家名称
    private String buyerName;

    //商品描述
    private String description;

    //商品名称
    private String goodsName;

    //商品图片
    private String image;

    //商品详细描述
    private String goodsDescription;

    //订单状态
    private Integer status;
}
